/**
 * <b>项目名：</b>hclv-web<br/>  
 * <b>包名：</b>com.flea.hclv.controller<br/>  
 * <b>文件名：</b>HResourceRelationController.java<br/>  
 * <b>版本信息：</b>1.0<br/>  
 * <b>日期：</b>2018年9月20日 上午1:50:18<br/>  
 * <b>COPYRIGHT 2010-2012 ALL RIGHTS RESERVED 虫子科技</b>-版权所有<br/>
 */
package com.flea.hclv.controller;

import java.util.List;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.flea.hclv.model.entity.HResourceRelation;
import com.flea.hclv.service.HResourceRelationService;
import com.flea.system.utils.ControllerResult;

/**
 * @description
 * @createTime 2018年9月20日 上午1:50:18
 * @modifyTime 
 * @author myflea@163.com
 * @version 1.0
 */
@Controller
@RequestMapping("/flea/hclv/resRelation")
public class HResourceRelationController {
	@Autowired
	private HResourceRelationService hResourceRelationService;
	@RequestMapping("/getFilePathByUuid")
	public void getFilePathByUuid(HttpServletRequest request,HttpServletResponse response){
		String uuid = request.getParameter("uuid");
		
		List<HResourceRelation> result = hResourceRelationService.findFilePathByUuid(uuid);
		ControllerResult conresult = new ControllerResult(result);
		conresult.set(true, "操作成功");

		conresult.WritePagingDataToPage(response, result);
		
		
	}
}
